package cn.cl.gulimall.product.service;

import cn.cl.gulimall.product.vo.SpuSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.cl.common.utils.PageUtils;
import cn.cl.gulimall.product.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author 高志红
 * @email 1739745826@qq.com
 * @date 2020-05-07 19:59:22
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

	PageUtils queryPage(Map<String, Object> params);

	/**
	 * 保存Spu
	 */
	void saveSpuInfo(SpuSaveVo spuSaveVo);

	/**
	 * 1、保存spu基本信息 pms_spu_info
	 */
	void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);

	/**
	 * 查询Spu
	*/
	PageUtils queryPageByCondition(Map<String, Object> params);
}

